package com.kwok.openplatform.common.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class TableData<T> {

    //状态码
    private Integer code;

    //提示信息
    private String msg;

    //总条数
    private Long count;

    //列表数据
    private List<T> data;

}
